package org.qu.vo;

import java.sql.Timestamp;

/**
 * IsnsBlog entity. @author MyEclipse Persistence Tools
 */

public class IsnsBlog implements java.io.Serializable {

	// Fields

	private Integer logId;
	private Integer userId;
	private String userName;
	private String userIco;
	private String logTitle;
	private Integer logSort;
	private Short isPass;
	private String logSortName;
	private String logContent;
	private Timestamp addTime;
	private Timestamp editTime;
	private String privacy;
	private Integer hits;
	private Integer comments;
	private String tag;

	// Constructors

	/** default constructor */
	public IsnsBlog() {
	}

	/** minimal constructor */
	public IsnsBlog(Integer logSort, Short isPass, Integer comments) {
		this.logSort = logSort;
		this.isPass = isPass;
		this.comments = comments;
	}

	/** full constructor */
	public IsnsBlog(Integer userId, String userName, String userIco,
			String logTitle, Integer logSort, Short isPass, String logSortName,
			String logContent, Timestamp addTime, Timestamp editTime,
			String privacy, Integer hits, Integer comments, String tag) {
		this.userId = userId;
		this.userName = userName;
		this.userIco = userIco;
		this.logTitle = logTitle;
		this.logSort = logSort;
		this.isPass = isPass;
		this.logSortName = logSortName;
		this.logContent = logContent;
		this.addTime = addTime;
		this.editTime = editTime;
		this.privacy = privacy;
		this.hits = hits;
		this.comments = comments;
		this.tag = tag;
	}

	// Property accessors

	public Integer getLogId() {
		return this.logId;
	}

	public void setLogId(Integer logId) {
		this.logId = logId;
	}

	public Integer getUserId() {
		return this.userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return this.userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getUserIco() {
		return this.userIco;
	}

	public void setUserIco(String userIco) {
		this.userIco = userIco;
	}

	public String getLogTitle() {
		return this.logTitle;
	}

	public void setLogTitle(String logTitle) {
		this.logTitle = logTitle;
	}

	public Integer getLogSort() {
		return this.logSort;
	}

	public void setLogSort(Integer logSort) {
		this.logSort = logSort;
	}

	public Short getIsPass() {
		return this.isPass;
	}

	public void setIsPass(Short isPass) {
		this.isPass = isPass;
	}

	public String getLogSortName() {
		return this.logSortName;
	}

	public void setLogSortName(String logSortName) {
		this.logSortName = logSortName;
	}

	public String getLogContent() {
		return this.logContent;
	}

	public void setLogContent(String logContent) {
		this.logContent = logContent;
	}

	public Timestamp getAddTime() {
		return this.addTime;
	}

	public void setAddTime(Timestamp addTime) {
		this.addTime = addTime;
	}

	public Timestamp getEditTime() {
		return this.editTime;
	}

	public void setEditTime(Timestamp editTime) {
		this.editTime = editTime;
	}

	public String getPrivacy() {
		return this.privacy;
	}

	public void setPrivacy(String privacy) {
		this.privacy = privacy;
	}

	public Integer getHits() {
		return this.hits;
	}

	public void setHits(Integer hits) {
		this.hits = hits;
	}

	public Integer getComments() {
		return this.comments;
	}

	public void setComments(Integer comments) {
		this.comments = comments;
	}

	public String getTag() {
		return this.tag;
	}

	public void setTag(String tag) {
		this.tag = tag;
	}

}